#include"priority_queue.h"

namespace ybc
{
	template<class Container>
	void print_priority_queue(Container& pq)
	{
		while (!pq.empty())
		{
			cout << pq.top() << " ";
			pq.pop();
		}
		cout << endl;
	}

	void priority_queue_test()
	{
		priority_queue<int, vector<int>, greater<int>> pq;

		pq.push(4);
		pq.push(1);
		pq.push(5);
		pq.push(7);
		pq.push(9);

		print_priority_queue(pq);
	}
}

int main()
{
	ybc::priority_queue_test();

	return 0;
}